/*
package base;

import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.joran.JoranConfigurator;
import ch.qos.logback.core.joran.spi.JoranException;
import ch.qos.logback.core.util.StatusPrinter;
import org.junit.runners.model.InitializationError;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

*/
/**
 * <p/>
 * Copyright: Copyright (c) 2017/9/15
 * <p/>
 * Company: 途牛科技有限公司华东分公司
 * <p/>
 *  加载日志文件配置
 * @author lubin2@tuniu.com
 * @version 1.0.0
 * @project gtb-parent
 *//*

public class JUnit4ClassRunner extends SpringJUnit4ClassRunner{
	static{
		LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
		JoranConfigurator configurator = new JoranConfigurator();
		configurator.setContext(lc);
		lc.reset();
		try {
			configurator.doConfigure("src/main/resources/log/logback_dev.xml");
		} catch (JoranException e) {
			e.printStackTrace();
		}
		StatusPrinter.printInCaseOfErrorsOrWarnings(lc);
		System.out.println("==========================");
	}
	public JUnit4ClassRunner(Class<?> clazz) throws InitializationError {
		super(clazz);
	}
}
*/
